package com.gouzaofangfa;

public class Staff {
    private int dayMoney;
    private int day;
    public Staff() {

    }
    public Staff(int dayMoney, int day) {
        this.dayMoney = dayMoney;
        this.day = day;
    }
    public int allMoney() {
        return day * dayMoney;
    }

    public int getDayMoney() {
        return dayMoney;
    }

    public void setDayMoney(int dayMoney) {
        this.dayMoney = dayMoney;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }
}
